from conexao import gera_conexao
import MySQLdb

conexaoq = gera_conexao()
c = conexaoq.cursor()
c.execute("""INSERT INTO testepy 
VALUES('douglas','santos')""")
conexaoq.commit()